package com.cmos.um.web;

import com.alibaba.dubbo.config.annotation.Reference;
import com.alibaba.fastjson.JSONObject;
import com.cmos.um.iservice.ICallRecordSV;
import com.cmos.um.utils.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/callRecord")
public class CallRecordController {

    @Reference
    private ICallRecordSV iCallRecordSV;
    /**
     * 查询话单接口
     * @param params
     * @return
     */
    @PostMapping
    public Result findRecord(@RequestBody JSONObject params) {
        return iCallRecordSV.findRecord(params);
    }
}

